#pragma once
#ifndef PROCTABLETEST_H
#define PROCTABLETEST_H

#if _DEBUG

#include <cppunit/extensions/HelperMacros.h>
#include "../source/ProcTable.h"

class ProcTableTest : public CPPUNIT_NS::TestFixture 
{

CPPUNIT_TEST_SUITE( ProcTableTest );
CPPUNIT_TEST( testPreInsert );
CPPUNIT_TEST( testInsert );
CPPUNIT_TEST( testGetProcIndex );
CPPUNIT_TEST( testGetProcName );
CPPUNIT_TEST( testGetProcStatementRange );
CPPUNIT_TEST( testGetAllProcIndex );
CPPUNIT_TEST( testGetProcIndexByStmtNum );
CPPUNIT_TEST( testGetAllProcNames );
CPPUNIT_TEST_SUITE_END();

public:
	void setUp();
	void tearDown();

	void testPreInsert();
	void testInsert();
	void testGetProcIndex();
	void testGetProcName();
	void testGetProcStatementRange();
	void testGetAllProcIndex();
	void testGetProcIndexByStmtNum();
	void testGetAllProcNames();
};

#endif

#endif